<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>精灵图</title>
    <style>
        div {
            border: 1px red solid;
        }

        #h {
            width: 150px;
            height: 150px;
            background-image: url(./images/jingling.png);
            background-repeat: no-repeat;
            background-position: -315px -205px;
        }
        #x{width: 150px;
            height: 150px;
            background-image: url(./images/jingling.png);
            background-repeat: no-repeat;
            background-position: -363px -811px;}
    </style>
</head>

<body><div id="h"></div>
    <div id="x"></div>

</body>

</html>